﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace WFExtended.Twitter
{
    /// <summary>
    /// Status oEmbed
    /// </summary>
    [DataContract]
    public class StatusoEmbed
    {
        /// <summary>
        /// Gets or sets the HTML.
        /// </summary>
        /// <value>
        /// The HTML.
        /// </value>
        [DataMember(Name = "html")]
        public string Html { get; set; }

        /// <summary>
        /// Gets or sets the name of the author.
        /// </summary>
        /// <value>
        /// The name of the author.
        /// </value>
        [DataMember(Name = "author_name")]
        public string AuthorName { get; set; }

        /// <summary>
        /// Gets or sets the provider URL.
        /// </summary>
        /// <value>
        /// The provider URL.
        /// </value>
        [DataMember(Name = "provider_url")]
        public string ProviderUrl { get; set; }

        /// <summary>
        /// Gets or sets the URL.
        /// </summary>
        /// <value>
        /// The URL.
        /// </value>
        [DataMember(Name = "url")]
        public string Url { get; set; }

        /// <summary>
        /// Gets or sets the name of the provider.
        /// </summary>
        /// <value>
        /// The name of the provider.
        /// </value>
        [DataMember(Name = "provider_name")]
        public string ProviderName { get; set; }

        /// <summary>
        /// Gets or sets the version.
        /// </summary>
        /// <value>
        /// The version.
        /// </value>
        [DataMember(Name = "version")]
        public string Version { get; set; }

        /// <summary>
        /// Gets or sets the type.
        /// </summary>
        /// <value>
        /// The type.
        /// </value>
        [DataMember(Name = "type")]
        public string Type { get; set; }

        /// <summary>
        /// Gets or sets the height.
        /// </summary>
        /// <value>
        /// The height.
        /// </value>
        [DataMember(Name = "height")]
        public int? Height { get; set; }

        /// <summary>
        /// Gets or sets the cache age.
        /// </summary>
        /// <value>
        /// The cache age.
        /// </value>
        [DataMember(Name = "cache_age")]
        public string CacheAge { get; set; }

        /// <summary>
        /// Gets or sets the author URL.
        /// </summary>
        /// <value>
        /// The author URL.
        /// </value>
        [DataMember(Name = "author_url")]
        public string AuthorUrl { get; set; }

        /// <summary>
        /// Gets or sets the width.
        /// </summary>
        /// <value>
        /// The width.
        /// </value>
        [DataMember(Name = "width")]
        public int? Width { get; set; }
    }
}
